package Test01;

import java.util.Scanner;

//回文数
public class test04 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int i  =sc.nextInt();
        int temp = i;
        int num = 0;
        while (i != 0) {
            int ge = i % 10;
            i = i / 10;
            num = num * 10 + ge;
        }
        if (num == temp) {
            System.out.println("是回文数");
        } else {
            System.out.println("不是回文数");
        }
    }
}
